package com.kmdd.xtds.configs

import com.kmdd.xtds.room.BloodSugar

data class BloodRecord(
    var bloodValue: String, //血糖
    var bloodHeight: String,//血糖-身高
    var bloodWeight: String// 血糖-体重
){

    fun toDataBase():BloodSugar{
       return BloodSugar(
            bloodValue = bloodValue,
            bloodHeight =  bloodHeight,
            bloodWeight =  bloodWeight,
            timeStamp =  System.currentTimeMillis()
        )
    }
}